﻿<%@ Page Title="" Language="C#" MasterPageFile="~/pim/Pim.master" AutoEventWireup="true" CodeFile="PersonalInfo.aspx.cs" Inherits="pim_PersonalInfo" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="grid_16" id="content">
    <!--  TITLE START  --> 
    <div class="grid_9">
    <h1 class="dashboard">PERSONAL INFO</h1>
    </div>
    <!--RIGHT TEXT/CALENDAR-->
    <div class="grid_6" id="eventbox"><a href="#" class="inline_calendar">Mensaje</a>
    	<div class="hidden_calendar"></div>
    </div>
    <!--RIGHT TEXT/CALENDAR END-->
    <div class="clear">
    </div>
    <!--  TITLE END  -->    
    <!-- #PORTLETS START -->
    <div id="portlets">
    <!-- FIRST SORTABLE COLUMN START -->
      <div class="column" id="left">
      <!--THIS IS A PORTLET-->
		     
      <!--THIS IS A PORTLET-->
        
      </div>
      <!-- FIRST SORTABLE COLUMN END -->
      <!-- SECOND SORTABLE COLUMN START -->
      
	<!--  SECOND SORTABLE COLUMN END -->
    <div class="clear"></div>
    <!--THIS IS A WIDE PORTLET-->
    <div class="portlet">
        <div class="portlet-header fixed"><img src="images/icons/user.gif" width="16" height="16" alt="Latest Registered Users" />&nbsp;&nbsp;ADD / EDIT </div>
		<div class="portlet-content nopadding">
          <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
            <tbody>
                <tr>
                    <td align="left">
                        <table width="70%">
                            <tr>
                                <td>
                                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                                    </asp:ScriptManager>

                                    <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" 
                                        Width="886px">
                                        <cc1:TabPanel runat="server" HeaderText="Personal Details" ID="TabPanel1">
                                            <ContentTemplate><table align="center"><tr><td colspan="6" align="center">PERSONAL DETAIL</td></tr><tr><td>First</td><td><asp:TextBox ID="tb_nombre" runat="server"></asp:TextBox></td><td>Middle Name</td><td><asp:TextBox ID="tb_apellido" runat="server"></asp:TextBox></td><td>Last Name</td><td><asp:TextBox ID="tb_apellidocasada" runat="server"></asp:TextBox></td></tr><tr><td>NIT</td><td><asp:TextBox ID="tb_nit" runat="server"></asp:TextBox></td><td>Gender</td><td><asp:DropDownList ID="ddl_genero" runat="server">
                                                <asp:ListItem Value="M">Select One</asp:ListItem>
                                                <asp:ListItem Value="M">Male</asp:ListItem><asp:ListItem Value="F">Female</asp:ListItem></asp:DropDownList></td><td>Marital Status</td><td><asp:DropDownList ID="ddl_estadocivil" runat="server">
                                                <asp:ListItem Value="S">Select One</asp:ListItem>
                                                <asp:ListItem>Married</asp:ListItem><asp:ListItem>Single</asp:ListItem></asp:DropDownList></td></tr><tr><td>Date of Birth</td><td><asp:TextBox ID="tb_fechanacimiento" runat="server"></asp:TextBox></td><td>IGSS:</td><td><asp:TextBox ID="tb_igss" runat="server"></asp:TextBox></td><td>&nbsp;</td><td><asp:Label ID="lb_person_id" runat="server" Text="0" Visible="False"></asp:Label><asp:Label ID="lb_emp_id" runat="server" Text="0" Visible="False"></asp:Label></td></tr></table></ContentTemplate>
</cc1:TabPanel>
                                        <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Contact Details">
                                            <HeaderTemplate>
                                                Contact Details
                                            </HeaderTemplate>
                                            <ContentTemplate><div class="column" id="left"></div><div class="clear"></div><div class="portlet"><div class="portlet-header fixed"><img alt="Contact Detail" height="16" src="images/icons/user.gif" width="16" />Contact Detail</div><div class="portlet-content nopadding"><table width="100%" cellpadding="0" cellspacing="0" id="Table1" summary="Contact Information"><tbody><tr><td align="center"><table align="center">
                                                <tbody>
                                                    <tr>
                                                        <td align="center" colspan="4">
                                                            CONTACT DETAIL</td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            Address 1</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_add1" runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            Address 2</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_add2" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            City</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_city" runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            State</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_state" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            Zip Code</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_zip" runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            Country</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_country" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            Home Tel</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_tel" runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            Mobile</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_celular" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            Work Email</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_email" runat="server"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            Personal Email</td>
                                                        <td>
                                                            <asp:TextBox ID="tb_personalemail" runat="server"></asp:TextBox>
                                                            <asp:Label ID="lb_contactid_1" runat="server" Text="0" Visible="False"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                                </table></td></tr></tbody></table></div></div></ContentTemplate></cc1:TabPanel>
                                        <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="Emergency Contacts">
                                            <HeaderTemplate>
                                                Emergency Contacts
                                            </HeaderTemplate>
                                            <ContentTemplate><div class="column" id="left"></div><div class="clear"></div><div class="portlet"><div class="portlet-header fixed"><img alt="Emergency Contacts" height="16" src="images/icons/user.gif" 
            width="16" />Emergency Contacts</div><div class="portlet-content nopadding"><table width="100%" cellpadding="0" cellspacing="0" id="Table2" summary="Energency Contacts"><tbody><tr><td align="center"><table align="center"><tbody><tr><td align="center" colspan="4">EMERGENCY CONTACTS</td></tr><tr><td>Name</td><td><asp:TextBox ID="tb_emename_1" runat="server"></asp:TextBox></td><td>Relationship</td><td><asp:TextBox ID="tb_emerelacion_1" runat="server"></asp:TextBox></td></tr><tr><td>Address 1</td><td><asp:TextBox ID="tb_emeaddr1_1" runat="server"></asp:TextBox></td><td>Address 2</td><td><asp:TextBox ID="tb_emeaddr2_1" runat="server"></asp:TextBox></td></tr><tr><td>City</td><td><asp:TextBox ID="tb_emecity_1" runat="server"></asp:TextBox></td><td>State</td><td><asp:TextBox ID="tb_emestate_1" runat="server"></asp:TextBox></td></tr><tr><td>Zip Code</td><td><asp:TextBox ID="tb_emezip_1" runat="server"></asp:TextBox></td><td>Country</td><td><asp:TextBox ID="tb_emecountry_1" runat="server"></asp:TextBox></td></tr><tr><td>Home Tel</td><td><asp:TextBox ID="tb_emetel_1" runat="server"></asp:TextBox></td><td>Personal E-Mail</td><td><asp:TextBox ID="tb_emeemail_1" runat="server"></asp:TextBox><asp:Label ID="lb_emergency_id_1" runat="server" Text="0" Visible="False"></asp:Label></td></tr></tbody></table></td></tr></td></tbody></table></div></div></ContentTemplate></cc1:TabPanel>
<%--***************************************************************************************************--%>
<cc1:TabPanel ID="TabPanel4" runat="server" HeaderText="Job Position">
                                            <HeaderTemplate>
                                                Job Position
                                            </HeaderTemplate>
                                            <ContentTemplate><div class="column" id="left"></div><div class="clear"></div><div class="portlet"><div class="portlet-header fixed"><img alt="Job Position" height="16" src="images/icons/user.gif" 
            width="16" />Job Position</div><div class="portlet-content nopadding"><table width="100%" cellpadding="0" cellspacing="0" id="Table3" summary="Job Position"><tbody><tr><td align="center"><table align="center"><tbody><tr><td align="center" colspan="4">JOB POSITION</td></tr><tr><td>Company</td><td><asp:DropDownList ID="ddl_company" runat="server" onselectedindexchanged="ddl_company_SelectedIndexChanged"></asp:DropDownList></td><td>Account</td><td><asp:DropDownList ID="ddl_cuenta" runat="server"></asp:DropDownList></td></tr><tr><td>Job Title</td><td><asp:DropDownList ID="ddl_jobtitle" runat="server"></asp:DropDownList></td><td>Status</td><td>
                                                    <asp:DropDownList ID="ddl_status" runat="server"><asp:ListItem Value="1">Active</asp:ListItem><asp:ListItem Value="2">Suspended</asp:ListItem><asp:ListItem Value="3">Vacations</asp:ListItem><asp:ListItem Value="4">Inactive</asp:ListItem></asp:DropDownList></td></tr><tr><td>Hired Date</td><td>
                                                    <asp:TextBox ID="tb_hired_date" runat="server"></asp:TextBox></td><td>End Date</td><td>
                                                    <asp:TextBox ID="tb_end_date" runat="server"></asp:TextBox></td></tr><tr><td>Contract Start Date</td><td>
                                                        <asp:TextBox ID="tb_start_contract" runat="server"></asp:TextBox></td><td>Contract End</td><td>
                                                        <asp:TextBox ID="tb_end_contract" runat="server"></asp:TextBox></td></tr><tr><td>Immediate Sup.</td><td>
                                                        <asp:TextBox ID="tb_inmediate_sup" runat="server"></asp:TextBox></td><td>Employe Code</td><td>
                                                        <asp:TextBox ID="tb_codigoempresa" runat="server"></asp:TextBox></td></tr></tbody></table></td></tr></td></tbody></table></div></div></ContentTemplate></cc1:TabPanel>
<%--***************************************************************************************************--%>
<cc1:TabPanel ID="TabPanel5" runat="server" HeaderText="Salary">
                                            <HeaderTemplate>
                                                Salary
                                            </HeaderTemplate>
                                            <ContentTemplate><div class="column" id="left"></div><div class="clear"></div><div class="portlet"><div class="portlet-header fixed"><img alt="Salary" height="16" src="images/icons/user.gif" 
            width="16" />Salary</div><div class="portlet-content nopadding"><table width="100%" cellpadding="0" cellspacing="0" id="Table4" summary="Salary"><tbody><tr><td align="center"><table align="center"><tbody><tr><td align="center" colspan="4">SALARY</td></tr><tr><td>Base Salary</td><td>
                                                    <asp:TextBox ID="tb_base_salary" runat="server"></asp:TextBox></td><td>Bonus</td><td>
                                                    <asp:TextBox ID="tb_bonus" runat="server"></asp:TextBox></td></tr><tr><td>Commissions</td><td>
                                                        <asp:TextBox ID="tb_commision" runat="server"></asp:TextBox></td><td>Other</td><td>
                                                        <asp:TextBox ID="tb_other" runat="server"></asp:TextBox></td></tr><tr><td>Severance Amount</td><td>
                                                        <asp:TextBox ID="tb_several_amount" runat="server"></asp:TextBox></td><td>Currency</td><td><asp:DropDownList ID="ddl_moneda" runat="server"><asp:ListItem>GTQ</asp:ListItem><asp:ListItem>USD</asp:ListItem></asp:DropDownList></td></tr><tr><td>Bank</td><td>
                                                    <asp:TextBox ID="tb_bank" runat="server"></asp:TextBox></td><td>Account #</td><td>
                                                    <asp:TextBox ID="tb_account" runat="server"></asp:TextBox></td></tr><tr><td>Employment Type</td><td><asp:DropDownList ID="ddl_empoyement" runat="server"></asp:DropDownList></td><td>
                                                        <asp:Label ID="lb_expediente_id_1" runat="server" Text="0" Visible="False"></asp:Label>
                                                        </td><td>&nbsp;</td></tr></tbody></table></td></tr></tbody></table></div></div></ContentTemplate></cc1:TabPanel>
<%--***************************************************************************************************--%>
</cc1:TabContainer>                             
                                </td>
                            </tr>
                            <tr align="center"><td align="center">
                                <asp:Button ID="Button4" runat="server" onclick="Button1_Click" 
                                    class="button_ok" Text="   SAVE"/>
                                <%--***************************************************************************************************--%>
                                     <asp:Button ID="bt_edit" runat="server" onclick="bt_edit_Click" 
                                    class="button_ok" Text="   EDIT"/>
                                     <asp:Button ID="bt_delete" runat="server" onclick="bt_delete_Click" 
                                    class="button_notok"  Text="   DELETE"/>
                                    <cc1:modalpopupextender ID="HyperLink1_ModalPopupExtender" runat="server" 
              DynamicServicePath="" Enabled="True" TargetControlID="bt_delete" 
              PopupControlID="pnlDelete" BackgroundCssClass="FondoAplicacion" >
          </cc1:modalpopupextender>
                                    <%--***************************************************************************************************--%>
                                     <asp:Button ID="b" runat="server" onclick="bt_cancel_Click" 
                                    class="button_notok"  Text="   CANCEL"/>
                                    
                                    
                                      
                                        
                            </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
          </table>
		</div>
      </div>
<!--  END #PORTLETS -->  
   </div>
    <div class="clear"> </div>
     <div class="clear"> </div>
    <asp:Panel ID="pnlDelete" runat="server" CssClass="CajaDialogo" Width="233px">
        <table width="200" cellpadding="0" cellspacing="0"  id="Table5" summary="Delete Employee" align="center">
        <thead>
            <tr align="center">
                <th align="center" scope="col">PERSONAL INFO</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td align="center">
                    <table width="90%">
                    <tr>
                        <td>Are you shure you want to delete?</td>
                    </tr>
                        <tr align="right">
                                <td colspan="4" align="center">
                                    <span>&nbsp;</span>
                                    <asp:LinkButton ID="LinkButton1" runat="server" class="button_ok" 
                                        onclick="LinkButton1_Click"><span>OK</span></asp:LinkButton>
                                        
                                        <asp:LinkButton ID="LinkButton3" runat="server" class="button_notok" 
                                        onclick="LinkButton3_Click"><span>CANCEL</span></asp:LinkButton>
                                      
                                    
                                </td>
                            </tr>
                    </table>
                    </td>
            </tr>
            </tbody>
            </table>
            </asp:Panel>
  </div>

</asp:Content>

